package com.ruoyi.project.beautyflower.paymentHistory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 还款记录表 bf_payment_history
 *
 * @author lxs
 * @date 2018-10-18
 */
public class PaymentHistory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;
    /**
     * 订单id
     */
    private String orderId;
    /**
     * 还款分期号
     */
    private String installmentNo;
    /**
     * 应还款本金
     */
    private BigDecimal duePrincipalAmount;
    /**
     * 实际还款本金
     */
    private BigDecimal repaymentPrincipalAmount;
    /**
     * 实际还款利息
     */
    private BigDecimal repaymentInterestAmount;
    /**
     * 数据状态
     */
    private String status;
    /**
     * 还款时间
     */
    private String repaymentTime;
    /**
     * 用户id
     */
    private Integer memberId;
    /**
     * 银行卡号
     */
    private String bankCardNumber;
    /**
     * 银行名称
     */
    private String bankName;

    private String paymentNo;//还款流水号

    private String orderPeriods;//显示参数

    private String princeSum;//还款总额

    private BigDecimal beOverdue;//逾期费用

    public BigDecimal getBeOverdue() {
        return beOverdue;
    }

    public void setBeOverdue(BigDecimal beOverdue) {
        this.beOverdue = beOverdue;
    }

    public String getPrinceSum() {
        return princeSum;
    }

    public void setPrinceSum(String princeSum) {
        this.princeSum = princeSum;
    }

    public String getOrderPeriods() {
        return orderPeriods;
    }

    public void setOrderPeriods(String orderPeriods) {
        this.orderPeriods = orderPeriods;
    }

    public String getPaymentNo() {
        return paymentNo;
    }

    public void setPaymentNo(String paymentNo) {
        this.paymentNo = paymentNo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getInstallmentNo() {
        return installmentNo;
    }

    public void setInstallmentNo(String installmentNo) {
        this.installmentNo = installmentNo;
    }

    public BigDecimal getDuePrincipalAmount() {
        return duePrincipalAmount;
    }

    public void setDuePrincipalAmount(BigDecimal duePrincipalAmount) {
        this.duePrincipalAmount = duePrincipalAmount;
    }

    public BigDecimal getRepaymentPrincipalAmount() {
        return repaymentPrincipalAmount;
    }

    public void setRepaymentPrincipalAmount(BigDecimal repaymentPrincipalAmount) {
        this.repaymentPrincipalAmount = repaymentPrincipalAmount;
    }

    public BigDecimal getRepaymentInterestAmount() {
        return repaymentInterestAmount;
    }

    public void setRepaymentInterestAmount(BigDecimal repaymentInterestAmount) {
        this.repaymentInterestAmount = repaymentInterestAmount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRepaymentTime() {
        return repaymentTime;
    }

    public void setRepaymentTime(String repaymentTime) {
        this.repaymentTime = repaymentTime;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getBankCardNumber() {
        return bankCardNumber;
    }

    public void setBankCardNumber(String bankCardNumber) {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderId", getOrderId())
                .append("installmentNo", getInstallmentNo())
                .append("duePrincipalAmount", getDuePrincipalAmount())
                .append("repaymentPrincipalAmount", getRepaymentPrincipalAmount())
                .append("repaymentInterestAmount", getRepaymentInterestAmount())
                .append("status", getStatus())
                .append("repaymentTime", getRepaymentTime())
                .append("memberId", getMemberId())
                .append("bankCardNumber", getBankCardNumber())
                .append("bankName", getBankName())
                .toString();
    }
}
